package com.itravel.cms.base;
 
import java.util.List;

public interface BaseService<T extends BaseEntity> {
	
	

	boolean insert(T entity);
	
	boolean update(T entity);
	
	boolean delete(T entity);
	
	List<T> getList(QueryBase query);
	
	List<T> getAll();
	
	T getById(String id);
	 
}
	